package com.linux.huhx.BaseTest;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

/**
 * Created by huhx on 2017-05-23.
 */
public class DependTestMain {
    public static void main(String[] args) {
        BeanFactory factory = new XmlBeanFactory(new ClassPathResource("config/beanFactoryTest.xml"));
        DependTest dependTest = (DependTest) factory.getBean("dependTest");
        dependTest.sayMyName();
    }
}
